package com.xbongbong.pro.dingtalk.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 用于web端登录生成随机数跳转 DTO
 * @author kaka
 * @version v1.0
 * @date 2019/4/17 15:02
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class GenerateNonceDTO extends BaseDTO {
    private static final long serialVersionUID = -9084008132181680577L;

    /**
     * 登录随机码，增加后续步骤安全性
     */
    @NotBlank(message = "{dto.msg.generateNonce.nr.NotBlank}")
    private String nr;
}
